Comparing an [NSURL path] to an NSString doesn't work
Posted
by Koning Baard XIV
on Stack Overflow
See other posts from Stack Overflow
or by Koning Baard XIV
Published on 2010-05-04T21:51:01Z
Indexed on
2010/05/04
21:58 UTC
Read the original article
Hit count: 283
I have this code:
NSLog([url path]);
if([url path] == @"/connect/login_success.html") {
NSLog("IT WORKZ");
}
When I run my application, do the login etc... my console says:
2010-05-04 23:49:57.297 Framebook Test Application[8069:a0f] /connect/login_success.html
But it should also print IT WORKZ
to the console, which it does not.
Can anyone help me? Thanks.
© Stack Overflow or respective owner